package com.atguigu.tingshu.constant;

/**
 * ClassName: RedisConstant
 * Package: com.atguigu.tingshu.constant
 * Description:rabbit常量
 */
public class RabbitConstant {

    //账户相关
    public static final String ACCOUNT_INIT_EXCHANGE = "account_exchange";
    public static final String ACCOUNT_INIT_QUEUE = "account.init";
    public static final String ACCOUNT_INIT_ROUTING = "account_routing";

    //ES相关
    public static final String ELASTICSEARCH_EXCHANGE = "elasticsearch_exchange";
    public static final String ELASTICSEARCH_ADD_QUEUE = "elasticsearch_add_queue";
    public static final String ELASTICSEARCH_REMOVE_QUEUE = "elasticsearch_remove_queue";
    public static final String ELASTICSEARCH_ADD_ROUTING = "album.add.elasticsearch";
    public static final String ELASTICSEARCH_REMOVE_ROUTING = "album.remove.elasticsearch";

    //专辑相关
    public static final String ALBUMINFO_REMOVE_QUEUE = "album_remove_queue";
    public static final String ALBUMINFO_REMOVE_ROUTING = "album.remove.#";
}
